package com.yehuo.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yehuo.app.entity.OrderRedPacket;
import org.apache.ibatis.annotations.Select;

public interface OrderRedPacketMapper extends BaseMapper<OrderRedPacket> {
//    @Select("select * from o_order_red_packet p where p.order_id = #{orderId} AND p.state = 0 order by p.`index` desc  limit 1")
//    OrderRedPacket selectByOrderId(String orderId);
}